Saves the current document content to an external file or Local Workspace file.
Syntax
SaveToFile([FileName as String]) As String
Name | Description |
---|---|
FileName |
If specified, the file is saved in the specified location outside the vault. If absent, the file is saved in the Local Workspace with its current name. |
Remarks
Use this method to temporarily save the content of a non-hybrid part document before creating a new hybrid part and then loading the file created by this method as the new part's content.